{include file="common/header" /}
<section class="container">
    <div class="content-wrap">
        <div class="content">
            <header class="article-header">
                <h1 class="article-title"><a href="{:url('article/index')}?aid={$article.id}">{$article.article_title}</a></h1>
                <div class="article-meta"> <span class="item article-meta-time">
                        <time class="time" data-toggle="tooltip" data-placement="bottom" title="时间：{$article.updatetime}"><i
                                class="glyphicon glyphicon-time"></i> {$article.updatetime|date='Y-m-d
                                H:i:s',###}</time>
                    </span> <span class="item article-meta-source" data-toggle="tooltip" data-placement="bottom"
                        title="来源：第一PHP社区"><i class="glyphicon glyphicon-globe"></i> 第一PHP社区</span> <span
                        class="item article-meta-category" data-toggle="tooltip" data-placement="bottom" title="栏目：{$article.blogsorts.sort_name}"><i
                            class="glyphicon glyphicon-list"></i> <a href="program" title="">{$article.blogsorts.sort_name}</a></span> <span
                        class="item article-meta-views" data-toggle="tooltip" data-placement="bottom" title="查看：{$article.article_views}"><i
                            class="glyphicon glyphicon-eye-open"></i> 共{$article.article_views}人围观</span> <span class="item article-meta-comment"
                        data-toggle="tooltip" data-placement="bottom" title="评论：{$article.totalcomments}"><i
                            class="glyphicon glyphicon-comment"></i> {$article.totalcomments}</span> </div>
            </header>
            <article class="article-content">
                {$article.article_content}
            </article>
            <div class="article-tags">标签：
                {volist name='article.bloglabels' id ='vo'}
                <a href="" rel="tag">{$vo.label_name}</a>
                {/volist}
            </div>
            <div class="relates">
                <div class="title">
                    <h3>相关推荐</h3>
                </div>
                <ul>
                    <li><a href="article.html">php如何判断一个日期的格式是否正确</a></li>
                    <li><a href="article.html">php如何判断一个日期的格式是否正确</a></li>
                    <li><a href="article.html">php如何判断一个日期的格式是否正确</a></li>
                    <li><a href="article.html">php如何判断一个日期的格式是否正确</a></li>
                    <li><a href="article.html">php如何判断一个日期的格式是否正确</a></li>
                    <li><a href="article.html">php如何判断一个日期的格式是否正确</a></li>
                    <li><a href="article.html">php如何判断一个日期的格式是否正确</a></li>
                    <li><a href="article.html">php如何判断一个日期的格式是否正确</a></li>
                </ul>
            </div>
            <div class="title" id="comment">
                <h3>评论 <small>抢沙发</small></h3>
            </div>
            <!--<div id="respond">
            <div class="comment-signarea">
              <h3 class="text-muted">评论前必须登录！</h3>
              <p> <a href="javascript:;" class="btn btn-primary login" rel="nofollow">立即登录</a> &nbsp; <a href="javascript:;" class="btn btn-default register" rel="nofollow">注册</a> </p>
              <h3 class="text-muted">当前文章禁止评论</h3>
            </div>
          </div>-->
            <div id="respond">
                <form action="" method="post" id="comment-form">
                    <div class="comment">
                        <div class="comment-title"><img class="avatar" src="images/icon/icon.png" alt="" /></div>
                        <div class="comment-box">
                            <textarea placeholder="您的评论可以一针见血" name="comment" id="comment-textarea" cols="100%" rows="3"
                                tabindex="1"></textarea>
                            <div class="comment-ctrl"> <span class="emotion"><img src="images/face/5.png" width="20"
                                        height="20" alt="" />表情</span>
                                <div class="comment-prompt"> <i class="fa fa-spin fa-circle-o-notch"></i> <span
                                        class="comment-prompt-text"></span> </div>
                                <input type="hidden" value="1" class="articleid" />
                                <button type="submit" name="comment-submit" id="comment-submit" tabindex="5"
                                    articleid="1">评论</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div id="postcomments">
                <ol class="commentlist">
                    <li class="comment-content"><span class="comment-f">#1</span>
                        <div class="comment-avatar"><img class="avatar" src="images/icon/icon.png" alt="" /></div>
                        <div class="comment-main">
                            <p>来自<span class="address">河南郑州</span>的用户<span class="time">(2016-01-06)</span><br />
                                这是匿名评论的内容这是匿名评论的内容，这是匿名评论的内容这是匿名评论的内容这是匿名评论的内容这是匿名评论的内容这是匿名评论的内容这是匿名评论的内容。</p>
                        </div>
                    </li>
                </ol>
    
                <div class="quotes"><span class="disabled">首页</span><span class="disabled">上一页</span><a
                        class="current">1</a><a href="">2</a><span class="disabled">下一页</span><span
                        class="disabled">尾页</span></div>
            </div>
        </div>
    </div>
    <aside class="sidebar">
        <div class="fixed">

            <div class="widget widget_search">
                <form class="navbar-form" action="/Search" method="post">
                    <div class="input-group">
                        <input type="text" name="keyword" class="form-control" size="35" placeholder="请输入关键字"
                            maxlength="15" autocomplete="off">
                        <span class="input-group-btn">
                            <button class="btn btn-default btn-search" name="search" type="submit">搜索</button>
                        </span> </div>
                </form>
            </div>
        </div>
        <div class="widget widget_sentence">
            <h3>每日一句</h3>
            <div class="widget-sentence-content">
                <h4>{$nowdate}</h4>
                <p>Do not let what you cannot do interfere with what you can do.<br /> 别让你不能做的事妨碍到你能做的事。（John Wooden）
                </p>
            </div>
        </div>
        <div class="widget widget_hot">
            <h3>热门文章</h3>
            <ul>
                {volist name='hotlist' id='vo'}
                <li><a href="{:url('article/index')}?aid={$vo.id}"><span class="thumbnail"><img class="thumb" data-original="{$vo.article_image}"
                                src="{$vo.article_image}" alt=""></span><span
                            class="text">{$vo.article_title}</span><span class="muted"><i
                                class="glyphicon glyphicon-time"></i>
                            {$vo.updatetime} </span><span class="muted"><i class="glyphicon glyphicon-eye-open"></i>
                            {$vo.article_views}</span></a></li>
                {/volist}

            </ul>
        </div>
    </aside>
</section>
{include file="common/footer" /}